package com.aabte.design2.creational.abstractfactory.win;

import com.aabte.design2.creational.abstractfactory.Button;
import com.aabte.design2.creational.abstractfactory.Checkbox;
import com.aabte.design2.creational.abstractfactory.GUIFactory;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/2
 */
public class WinFactory implements GUIFactory {
    @Override
    public Button createButton() {
        return new WinButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new WinCheckbox();
    }
}
